package com.nebula.dao;

import com.nebula.entity.Benefits;

import java.math.BigDecimal;

/**
 * @author CcccX
 * @since 2020-07-05 20:17
 */
public interface IBenefitsDao extends IBaseDao<Benefits> {
    /**
     * 获取福利总和
     * @param userId 用户ID
     * @param conditions 查询条件 例如 where id = 1001
     * @return BigDecimal
     */
    BigDecimal getTotalSalary(String userId, Object... conditions);
}
